''' special code for Tube Town allows players to chat, trade, and battle over the inter-tubes.
'''
import pykemon
from remote_objects import NameServer, RemoteObject

class Client(RemoteObject):
    def battle(self, other):
        ''' battle against another Client.
        '''
        XXX
    
    def trade(self, other):
        ''' trade pykemon with another Client.
        '''
        XXX
    
    def chat(self, other):
        ''' open a conversation window with another Client.
        '''
        XXX
    
    def add_client(self, other):
        ''' called by another Client on all other Clients [incl self] when the former enters Tube Town,
            and when self enters Tube Town.
        '''
        XXX
    
    def remove_client(self, other):
        ''' called by another Client on all other Clients [incl self] when the former is leaving Tube Town.
        '''
        XXX

